package com.rxst.msg.dto.save;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 白名单表
 *
 * @author rxst
 * @email rxst@gmail.com
 * @date 2021-08-26 16:33:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MsgxIpSaveDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 网络名称
     */
    @ApiModelProperty(value = "网络名称", example = "@component:ProFormTextArea@length:64@required:true", notes = "网络名称")
    private String ipName;
    /**
     * 网络地址
     */
    @ApiModelProperty(value = "网络地址", example = "@component:ProFormTextArea@length:64@required:true", notes = "网络地址")
    private String ipAddress;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2021-08-26 16:33:48", notes = "创建时间", dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", example = "2021-08-26 16:33:48", notes = "修改时间", dataType = "String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
